package com.foreknow.elm.po;

/**
 * @author shkstart
 * @create 2021-08-26 13:46
 */
public class Cart {
    private int cartId;  //无意义编号
    private int foodId;  //食品编号
    private int businessId; //所属商家编号
    private String userId; //所属用户编号
    private int quantity;  //同一类食品编号
    private Food food=new Food();
    private Business business=new Business();
    public Cart() {
    }

    public Food getFood() {
        return food;
    }

    public void setFood(Food food) {
        this.food = food;
    }

    public Business getBusiness() {
        return business;
    }

    public void setBusiness(Business business) {
        this.business = business;
    }

    public int getCartId() {
        return cartId;
    }

    public void setCartId(int cartId) {
        this.cartId = cartId;
    }

    public int getFoodId() {
        return foodId;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

}
